//
//  CTUserFenceView.h
//  ConstellationTalk_0.1
//
//  Created by riley on 15/6/5.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import <UIKit/UIKit.h>
@class CTUserItem;
@protocol CTUserFenceViewDelegate;
@interface CTUserFenceView : UIView

@property (nonatomic, setter=setFenceUserItem:) CTUserItem *item;
@property (nonatomic, assign)id<CTUserFenceViewDelegate>delegate;
@property (nonatomic, setter=setFenceArray:) NSArray *fenceArray;

-(void)refresh;
-(void)refreshPullDownEnd;
-(void)refreshPullUpEnd;
-(void)reloadData;

@end

@protocol CTUserFenceViewDelegate <NSObject>

- (void)userFenceTableViewBackBtnAction:(CTUserFenceView *) view;
- (void)userFenceTableView:(CTUserFenceView *)tableView WithItme:(CTUserItem *)item;
- (void)userFenceTableViewAttentionBtnAction:(CTUserFenceView *) cell withItem:(CTUserItem *)item withBool:(BOOL)attenBool;

//刷新
-(void)refreshControlPullDown:(CTUserFenceView *)view;
-(void)refreshControlPullUp:(CTUserFenceView *)view;

@end